﻿using Neudesic.Pulse.ViewModels;
using System.ComponentModel.Composition;
using System.Windows;

namespace Neudesic.Pulse.Notifier
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    [Export]
    public partial class Shell : Window
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="Shell" /> class.
        /// </summary>
        public Shell()
        {
            InitializeComponent();
        }

        /// <summary>
        /// Sets the view model.
        /// </summary>
        /// <value>The view model.</value>
        [Import]
        ShellViewModel ViewModel
        {
            set
            {
                this.DataContext = value;
            }
        }

    }
}
